﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="BusinessCard.aspx.cs" Inherits="ServicesSheet_BusinessCard" %>

<%@ Register Assembly="ZLTextBox" Namespace="BaseText" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Titile" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <infolight:webdatasource id="Master" runat="server" autoapply="True" webdatasetid="WMaster"
        datamember="Services_BusinessCard">
    </infolight:webdatasource>
    <infolight:webdatasource id="WEmp" runat="server" selectalias="Usasdb" selectcommand="SELECT     &#13;&#10;Employees.EmployeeID, &#13;&#10;Employees.EmpName, &#13;&#10;CompanyJob.JobName, &#13;&#10;Department.DepartmentName&#13;&#10;FROM         &#13;&#10;Employees INNER JOIN&#13;&#10;                      Department ON Employees.DepartmentId = Department.DepartmentId                   INNER JOIN&#13;&#10;                      CompanyJob ON Employees.JobId = CompanyJob.JobId&#13;&#10;WHERE     (Employees.EmpStatus = 1)">
    </infolight:webdatasource>
    <infolight:webdefault id="WebDefault1" runat="server" datamember="Services_BusinessCard"
        datasourceid="Master">
        <fields>
                <InfoLight:DefaultFieldItem DefaultValue="0" FieldName="CardId" />
                <InfoLight:DefaultFieldItem DefaultValue="" FieldName="CompAddress" />
                <InfoLight:DefaultFieldItem DefaultValue="201611" FieldName="PostId" />
                <InfoLight:DefaultFieldItem DefaultValue="GetEmpId()" FieldName="EmployeeId" />
            </fields>
    </infolight:webdefault>
    <infolight:webvalidate id="WebValidate1" runat="server" altrowcss="" datamember="Services_BusinessCard"
        datasourceid="Master" forecolor="Red" rowcss="">
        <fields>
<InfoLight:ValidateFieldItem FieldName="Email" Validate="ValidateEmail()"></InfoLight:ValidateFieldItem>
</fields>
    </infolight:webvalidate>

                    <FLTools:FLWebNavigator ID="FLWebNavigator1" runat="server" BindingObject="WebFormView1"
                        CtlHeight="25" ShowDataStyle="FormViewStyle" 
        StatusStrip="WebStatusStrip1" AutoSubmit="True"
                        CssClass="NavigatorBar" Width="100%" 
        oncommand="FLWebNavigator1_Command">
                        <NavControls>
                            <infolight:controlitem controlname="Add" controltext="add" controltype="Image" controlvisible="True"
                                disenableimageurl="../Image/UIPics/Add3_C.gif" imageurl="../Image/UIPics/Add_C.gif"
                                mouseoverimageurl="../Image/UIPics/Add2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Update" controltext="update" controltype="Image"
                                controlvisible="True" disenableimageurl="../Image/UIPics/Edit3_C.gif" imageurl="../Image/UIPics/Edit_C.gif"
                                mouseoverimageurl="../Image/UIPics/Edit2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Delete" controltext="delete" controltype="Image"
                                controlvisible="True" disenableimageurl="../Image/UIPics/Delete3_C.gif" imageurl="../Image/UIPics/Delete_C.gif"
                                mouseoverimageurl="../Image/UIPics/Delete2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Apply" controltype="Image" controlvisible="True"
                                disenableimageurl="../Image/UIPics/Apply3_C.gif" imageurl="../Image/UIPics/Apply_C.gif"
                                mouseoverimageurl="../Image/UIPics/Apply2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Abort" controltype="Image" controlvisible="True"
                                disenableimageurl="../Image/UIPics/Abort3_C.gif" imageurl="../Image/UIPics/Abort_C.gif"
                                mouseoverimageurl="../Image/UIPics/Abort2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Query" controltext="query" controltype="Image"
                                controlvisible="True" disenableimageurl="../image/uipics/Query3_C.gif" imageurl="../image/uipics/Query_C.gif"
                                mouseoverimageurl="../image/uipics/Query2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Submit" controltext="submit" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/Submit_C.gif"
                                mouseoverimageurl="../image/uipics/Submit2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Approve" controltext="approve" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../Image/UIPics/Approve_C.gif"
                                mouseoverimageurl="../Image/UIPics/Approve2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Return" controltext="return" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/Return_C.gif"
                                mouseoverimageurl="../image/uipics/Return2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Reject" controltext="reject" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/Reject_C.gif"
                                mouseoverimageurl="../image/uipics/Reject2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Notify" controltext="notify" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/Notify_C.gif"
                                mouseoverimageurl="../image/uipics/Notify2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="FlowDelete" controltext="flowdelete" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/FlowDelete_C.gif"
                                mouseoverimageurl="../image/uipics/FlowDelete2_C.gif" size="70">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Plus" controltext="plus" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/Plus_C.gif"
                                mouseoverimageurl="../image/uipics/Plus2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Pause" controltext="pause" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/Pause_C.gif"
                                mouseoverimageurl="../image/uipics/Pause2_C.gif" size="48">
                            </infolight:controlitem>
                            <infolight:controlitem controlname="Comment" controltext="comment" controltype="Image"
                                controlvisible="True" disenableimageurl="" imageurl="../image/uipics/Comment_C.gif"
                                mouseoverimageurl="../image/uipics/Comment2_C.gif" size="48">
                            </infolight:controlitem>
                        </NavControls>
                        <FLStates>
                            <FLTools:FLWebNavigatorStateItem StateText="Approve" VisibleControls="Approve;Return;Notify;Comment" />
                            <FLTools:FLWebNavigatorStateItem StateText="Continue" VisibleControls="Submit;Notify;Comment" />
                            <FLTools:FLWebNavigatorStateItem StateText="Inquery" VisibleControls="Comment" />
                            <FLTools:FLWebNavigatorStateItem StateText="Notify" VisibleControls="Notify;FlowDelete;Comment" />
                            <FLTools:FLWebNavigatorStateItem StateText="Return" VisibleControls="Submit;Reject;Notify" />
                            <FLTools:FLWebNavigatorStateItem StateText="Submit" VisibleControls="Submit;Notify;Pause" />
                            <FLTools:FLWebNavigatorStateItem StateText="None" VisibleControls="" />
                            <FLTools:FLWebNavigatorStateItem StateText="Plus" VisibleControls="Approve;Notify;Comment" />
                            <FLTools:FLWebNavigatorStateItem StateText="Lock" VisibleControls="Notify" />
                            <FLTools:FLWebNavigatorStateItem StateText="FSubmit" VisibleControls="Submit;Notify" />
                            <FLTools:FLWebNavigatorStateItem StateText="RSubmit" VisibleControls="Submit;Return;Notify" />
                        </FLStates>
                        <NavStates>
                            <infolight:webnavigatorstateitem enablecontrols="First;Previous;Next;Last;Add;Update;Delete;Query;Print;Export"
                                statetext="Initial">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="First;Previous;Next;Last;Add;Update;Delete;Query;Print;Export"
                                statetext="Browsed">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="OK;Cancel;Apply;Abort" statetext="Inserting">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="OK;Cancel;Apply;Abort" statetext="Editing">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="" statetext="Applying">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="First;Previous;Next;Last;Add;Update;Delete;Apply;Abort;Export"
                                statetext="Changing">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="" statetext="Querying">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="" statetext="Printing">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="" statetext="Normal">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="Add" statetext="Insert">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="Update" statetext="Modify">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="Query" statetext="Inquery">
                            </infolight:webnavigatorstateitem>
                            <infolight:webnavigatorstateitem enablecontrols="Query;Update" statetext="Prepare">
                            </infolight:webnavigatorstateitem>
                        </NavStates>
                    </FLTools:FLWebNavigator>
             
                    <infolight:webformview id="WebFormView1" runat="server" backcolor="Silver" bordercolor="White"
                        borderstyle="Groove" borderwidth="2px" cellpadding="4" datasourceid="Master"
                        forecolor="#333333" height="87px" layoutcolnum="2" width="100%">
                        <footerstyle backcolor="#507CD1" font-bold="True" forecolor="White" />
                        <rowstyle backcolor="#EFF3FB" forecolor="Navy" />
                        <headerstyle backcolor="#507CD1" font-bold="True" forecolor="White" />
                        <insertrowstyle backcolor="LightCyan" forecolor="Blue" />
                        <editrowstyle backcolor="LightCyan" forecolor="Blue" />
                        <edititemtemplate><table class="container_table" >
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionCardId" runat="server" Text="名片编码:"></asp:Label>
                    </td>
                    <td style="width: 138px">
                        <asp:TextBox ID="CardIdTextBox" runat="server" ReadOnly="True" Text='<%# Bind("CardId") %>'
                            Width="120px"></asp:TextBox>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionNumCount" runat="server" Text="印制数量(盒):"></asp:Label></td>
                    <td style="width: 254px">
                        <cc1:ZLTextBox ID="ZLTextBox1" runat="server" FloatLength="2" InputType="number"
                            IsDisplayTime="False" Language="Chinese" onblurCssName="" onfocusCssName="" ShowMessage=""
                            Text='<%# Bind("NumCount") %>' textValue="" Width="120px"></cc1:ZLTextBox></td>
                </tr>
                <tr>
                    <td style="height: 26px; width: 79px;">
                        <asp:Label ID="CaptionDepartmentName" runat="server" Text="部门:"></asp:Label></td>
                    <td style="height: 26px; width: 138px;">
                        <asp:TextBox ID="DepartmentNameTextBox" runat="server" ReadOnly="True" Text='<%# Bind("DepartmentName") %>'
                            Width="120px"></asp:TextBox></td>
                    <td style="height: 26px; width: 96px;">
                        <asp:Label ID="CaptionEDepartment" runat="server" Text="英文:"></asp:Label></td>
                    <td style="height: 26px; width: 254px;">
                        <asp:TextBox ID="EDepartmentTextBox" runat="server" Text='<%# Bind("EDepartment") %>'
                            Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionEmpName" runat="server" Text="姓名:"></asp:Label></td>
                    <td style="width: 138px">
                        <InfoLight:WebRefVal ID="WebRefVal1" runat="server" AllowAddData="False" BindingText=""
                                BindingValue='<%# Bind("EmployeeId") %>' ButtonImageUrl="../Image/refval/RefVal.gif"
                                DataBindingField="EmployeeId" DataSourceID="WEmp" DataTextField="EmpName" DataValueField="EmployeeID"
                                MultiLanguage="False" PostBackButonClick="False" ReadOnly="False" ResxDataSet=""
                                ResxFilePath="" UpdatePanelID="" UseButtonImage="True" Width="115px">
                            <Columns>
                                <InfoLight:WebRefColumn ColumnName="EmployeeID" HeadText="员工编号" Width="100" />
                                <InfoLight:WebRefColumn ColumnName="EmpName" HeadText="员工姓名" Width="100" />
                                <InfoLight:WebRefColumn ColumnName="JobName" HeadText="职位" Width="100" />
                                <InfoLight:WebRefColumn ColumnName="DepartmentName" HeadText="部门" Width="100" />
                            </Columns>
                        </InfoLight:WebRefVal>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionEName" runat="server" Text="英文:"></asp:Label></td>
                    <td style="width: 254px">
                        <asp:TextBox ID="ENameTextBox" runat="server" Text='<%# Bind("EName") %>' Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="height: 26px; width: 79px;">
                        <asp:Label ID="CaptionDuty" runat="server" Text="职务:"></asp:Label></td>
                    <td style="height: 26px; width: 138px;">
                        <asp:TextBox ID="DutyTextBox" runat="server" Text='<%# Bind("Duty") %>' Width="120px"></asp:TextBox></td>
                    <td style="height: 26px; width: 96px;">
                        <asp:Label ID="CaptionEDuty" runat="server" Text="英文:"></asp:Label></td>
                    <td style="height: 26px; width: 254px;">
                        <asp:TextBox ID="EDutyTextBox" runat="server" Text='<%# Bind("EDuty") %>' Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionDutyName" runat="server" Text="职称:"></asp:Label></td>
                    <td style="width: 138px">
                        <asp:TextBox ID="DutyNameTextBox" runat="server" Text='<%# Bind("DutyName") %>' Width="120px"></asp:TextBox></td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionEDutyName" runat="server" Text="英文:"></asp:Label>
                    </td>
                    <td style="width: 254px">
                        <asp:TextBox ID="EDutyNameTextBox" runat="server" Text='<%# Bind("EDutyName") %>'
                            Width="120px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionTelphone" runat="server" Text="电话/分机:"></asp:Label>
                    </td>
                    <td style="width: 138px">
                        <asp:TextBox ID="TelphoneTextBox" runat="server" Text='<%# Bind("Telphone") %>' Width="120px"></asp:TextBox>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionMobile" runat="server" Text="手机:"></asp:Label>
                    </td>
                    <td style="width: 254px">
                        <asp:TextBox ID="MobileTextBox" runat="server" Text='<%# Bind("Mobile") %>' Width="120px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionEmail" runat="server" Text="Email地址:"></asp:Label>
                    </td>
                    <td style="width: 138px">
                        <asp:TextBox ID="EmailTextBox" runat="server" Text='<%# Bind("Email") %>' Width="120px"></asp:TextBox>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionPostId" runat="server" Text="邮编:"></asp:Label></td>
                    <td style="width: 254px">
                        <asp:TextBox ID="PostIdTextBox" runat="server" Text='<%# Bind("PostId") %>' Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionCompAddress" runat="server" Text="公司地址:"></asp:Label></td>
                    <td colspan="3">
                        <asp:TextBox ID="CompAddressTextBox" runat="server" Text='<%# Bind("CompAddress") %>'
                            Width="486px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionRemark" runat="server" Text="其它特殊要求:"></asp:Label>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="RemarkTextBox" runat="server" Text='<%# Bind("Remark") %>' Width="485px"></asp:TextBox>
                    </td>
                </tr>
            </table>
            </edititemtemplate>
                        <insertitemtemplate>
                <table class="container_table">
                    <tr>
                        <td style="width: 79px">
                            <asp:Label ID="CaptionCardId" runat="server" Text="名片编码:"></asp:Label>
                        </td>
                        <td style="width: 138px">
                            <asp:TextBox ID="CardIdTextBox" runat="server" ReadOnly="True" Text='<%# Bind("CardId") %>'
                                Width="120px"></asp:TextBox>
                        </td>
                        <td style="width: 96px">
                            <asp:Label ID="CaptionNumCount" runat="server" Text="印制数量(盒):"></asp:Label></td>
                        <td style="width: 254px">
                            <cc1:ZLTextBox ID="ZLTextBox1" runat="server" FloatLength="2" InputType="number"
                                IsDisplayTime="False" Language="Chinese" onblurCssName="" onfocusCssName="" ShowMessage=""
                                Text='<%# Bind("NumCount") %>' textValue="" Width="120px"></cc1:ZLTextBox></td>
                    </tr>
                    <tr>
                        <td style="height: 26px; width: 79px;">
                            <asp:Label ID="CaptionDepartmentName" runat="server" Text="部门:"></asp:Label></td>
                        <td style="height: 26px; width: 138px;">
                            <asp:TextBox ID="DepartmentNameTextBox" runat="server" ReadOnly="True" Text='<%# Bind("DepartmentName") %>'
                                Width="120px"></asp:TextBox></td>
                        <td style="height: 26px; width: 96px;">
                            <asp:Label ID="CaptionEDepartment" runat="server" Text="英文:"></asp:Label></td>
                        <td style="height: 26px; width: 254px;">
                            <asp:TextBox ID="EDepartmentTextBox" runat="server" Text='<%# Bind("EDepartment") %>'
                                Width="120px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 79px">
                            <asp:Label ID="CaptionEmpName" runat="server" Text="姓名:"></asp:Label></td>
                        <td style="width: 138px">
                            <InfoLight:WebRefVal ID="WebRefVal1" runat="server" AllowAddData="False" BindingText=""
                                BindingValue='<%# Bind("EmployeeId") %>' ButtonImageUrl="../Image/refval/RefVal.gif"
                                DataBindingField="EmployeeId" DataSourceID="WEmp" DataTextField="EmpName" DataValueField="EmployeeID"
                                MultiLanguage="False" PostBackButonClick="False" ReadOnly="False" ResxDataSet=""
                                ResxFilePath="" UpdatePanelID="" UseButtonImage="True" Width="115px">
                                <Columns>
                                    <InfoLight:WebRefColumn ColumnName="EmployeeID" HeadText="员工编号" Width="100" />
                                    <InfoLight:WebRefColumn ColumnName="EmpName" HeadText="员工姓名" Width="100" />
                                    <InfoLight:WebRefColumn ColumnName="JobName" HeadText="职位" Width="100" />
                                    <InfoLight:WebRefColumn ColumnName="DepartmentName" HeadText="部门" Width="100" />
                                </Columns>
                            </InfoLight:WebRefVal>
                        </td>
                        <td style="width: 96px">
                            <asp:Label ID="CaptionEName" runat="server" Text="英文:"></asp:Label></td>
                        <td style="width: 254px">
                            <asp:TextBox ID="ENameTextBox" runat="server" Text='<%# Bind("EName") %>' Width="120px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="height: 26px; width: 79px;">
                            <asp:Label ID="CaptionDuty" runat="server" Text="职务:"></asp:Label></td>
                        <td style="height: 26px; width: 138px;">
                            <asp:TextBox ID="DutyTextBox" runat="server" Text='<%# Bind("Duty") %>' Width="120px"></asp:TextBox></td>
                        <td style="height: 26px; width: 96px;">
                            <asp:Label ID="CaptionEDuty" runat="server" Text="英文:"></asp:Label></td>
                        <td style="height: 26px; width: 254px;">
                            <asp:TextBox ID="EDutyTextBox" runat="server" Text='<%# Bind("EDuty") %>' Width="120px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 79px">
                            <asp:Label ID="CaptionDutyName" runat="server" Text="职称:"></asp:Label></td>
                        <td style="width: 138px">
                            <asp:TextBox ID="DutyNameTextBox" runat="server" Text='<%# Bind("DutyName") %>' Width="120px"></asp:TextBox></td>
                        <td style="width: 96px">
                            <asp:Label ID="CaptionEDutyName" runat="server" Text="英文:"></asp:Label>
                        </td>
                        <td style="width: 254px">
                            <asp:TextBox ID="EDutyNameTextBox" runat="server" Text='<%# Bind("EDutyName") %>'
                                Width="120px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 79px">
                            <asp:Label ID="CaptionTelphone" runat="server" Text="电话/分机:"></asp:Label>
                        </td>
                        <td style="width: 138px">
                            <asp:TextBox ID="TelphoneTextBox" runat="server" Text='<%# Bind("Telphone") %>' Width="120px"></asp:TextBox>
                        </td>
                        <td style="width: 96px">
                            <asp:Label ID="CaptionMobile" runat="server" Text="手机:"></asp:Label>
                        </td>
                        <td style="width: 254px">
                            <asp:TextBox ID="MobileTextBox" runat="server" Text='<%# Bind("Mobile") %>' Width="120px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 79px">
                            <asp:Label ID="CaptionEmail" runat="server" Text="Email地址:"></asp:Label>
                        </td>
                        <td style="width: 138px">
                            <asp:TextBox ID="EmailTextBox" runat="server" Text='<%# Bind("Email") %>' Width="120px"></asp:TextBox>
                        </td>
                        <td style="width: 96px">
                            <asp:Label ID="CaptionPostId" runat="server" Text="邮编:"></asp:Label></td>
                        <td style="width: 254px">
                            <asp:TextBox ID="PostIdTextBox" runat="server" Text='<%# Bind("PostId") %>' Width="120px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 79px">
                            <asp:Label ID="CaptionCompAddress" runat="server" Text="公司地址:"></asp:Label></td>
                        <td colspan="3">
                            <asp:TextBox ID="CompAddressTextBox" runat="server" Text='<%# Bind("CompAddress") %>'
                                Width="486px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 79px">
                            <asp:Label ID="CaptionRemark" runat="server" Text="其它特殊要求:"></asp:Label>
                        </td>
                        <td colspan="3">
                            <asp:TextBox ID="RemarkTextBox" runat="server" Text='<%# Bind("Remark") %>' Width="485px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </insertitemtemplate>
                        <itemtemplate><table class="container_table">
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionCardId" runat="server" Text="名片编码:"></asp:Label>
                    </td>
                    <td style="width: 138px">
                        <asp:TextBox ID="CardIdTextBox" runat="server" ReadOnly="True" Text='<%# Bind("CardId") %>'
                            Width="120px"></asp:TextBox>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionNumCount" runat="server" Text="印制数量(盒):"></asp:Label></td>
                    <td style="width: 254px">
                        <cc1:ZLTextBox ID="ZLTextBox1" runat="server" FloatLength="2" InputType="number"
                            IsDisplayTime="False" Language="Chinese" onblurCssName="" onfocusCssName="" ReadOnly="True"
                            ShowMessage="" Text='<%# Bind("NumCount") %>' textValue="" Width="120px"></cc1:ZLTextBox></td>
                </tr>
                <tr>
                    <td style="height: 26px; width: 79px;">
                        <asp:Label ID="CaptionDepartmentName" runat="server" Text="部门:"></asp:Label></td>
                    <td style="height: 26px; width: 138px;">
                        <asp:TextBox ID="DepartmentNameTextBox" runat="server" ReadOnly="True" Text='<%# Bind("DepartmentName") %>'
                            Width="120px"></asp:TextBox></td>
                    <td style="height: 26px; width: 96px;">
                        <asp:Label ID="CaptionEDepartment" runat="server" Text="英文:"></asp:Label></td>
                    <td style="height: 26px; width: 254px;">
                        <asp:TextBox ID="EDepartmentTextBox" runat="server" ReadOnly="True" Text='<%# Bind("EDepartment") %>'
                            Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionEmpName" runat="server" Text="姓名:"></asp:Label></td>
                    <td style="width: 138px">
                        <InfoLight:WebRefVal ID="WebRefVal1" runat="server" AllowAddData="False" BindingText=""
                                BindingValue='<%# Bind("EmployeeId") %>' ButtonImageUrl="../Image/refval/RefVal.gif"
                                DataBindingField="EmployeeId" DataSourceID="WEmp" DataTextField="EmpName" DataValueField="EmployeeID"
                                MultiLanguage="False" PostBackButonClick="False" ReadOnly="True" ResxDataSet=""
                                ResxFilePath="" UpdatePanelID="" UseButtonImage="True" Width="120px">
                            <Columns>
                                <InfoLight:WebRefColumn ColumnName="EmployeeID" HeadText="员工编号" Width="100" />
                                <InfoLight:WebRefColumn ColumnName="EmpName" HeadText="员工姓名" Width="100" />
                                <InfoLight:WebRefColumn ColumnName="JobName" HeadText="职位" Width="100" />
                                <InfoLight:WebRefColumn ColumnName="DepartmentName" HeadText="部门" Width="100" />
                            </Columns>
                        </InfoLight:WebRefVal>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionEName" runat="server" Text="英文:"></asp:Label></td>
                    <td style="width: 254px">
                        <asp:TextBox ID="ENameTextBox" runat="server" ReadOnly="True" Text='<%# Bind("EName") %>'
                            Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="height: 26px; width: 79px;">
                        <asp:Label ID="CaptionDuty" runat="server" Text="职务:"></asp:Label></td>
                    <td style="height: 26px; width: 138px;">
                        <asp:TextBox ID="DutyTextBox" runat="server" ReadOnly="True" Text='<%# Bind("Duty") %>'
                            Width="120px"></asp:TextBox></td>
                    <td style="height: 26px; width: 96px;">
                        <asp:Label ID="CaptionEDuty" runat="server" Text="英文:"></asp:Label></td>
                    <td style="height: 26px; width: 254px;">
                        <asp:TextBox ID="EDutyTextBox" runat="server" ReadOnly="True" Text='<%# Bind("EDuty") %>'
                            Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionDutyName" runat="server" Text="职称:"></asp:Label></td>
                    <td style="width: 138px">
                        <asp:TextBox ID="DutyNameTextBox" runat="server" ReadOnly="True" Text='<%# Bind("DutyName") %>'
                            Width="120px"></asp:TextBox></td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionEDutyName" runat="server" Text="英文:"></asp:Label>
                    </td>
                    <td style="width: 254px">
                        <asp:TextBox ID="EDutyNameTextBox" runat="server" ReadOnly="True" Text='<%# Bind("EDutyName") %>'
                            Width="120px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionTelphone" runat="server" Text="电话/分机:"></asp:Label>
                    </td>
                    <td style="width: 138px">
                        <asp:TextBox ID="TelphoneTextBox" runat="server" ReadOnly="True" Text='<%# Bind("Telphone") %>'
                            Width="120px"></asp:TextBox>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionMobile" runat="server" Text="手机:"></asp:Label>
                    </td>
                    <td style="width: 254px">
                        <asp:TextBox ID="MobileTextBox" runat="server" ReadOnly="True" Text='<%# Bind("Mobile") %>'
                            Width="120px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionEmail" runat="server" Text="Email地址:"></asp:Label>
                    </td>
                    <td style="width: 138px">
                        <asp:TextBox ID="EmailTextBox" runat="server" ReadOnly="True" Text='<%# Bind("Email") %>'
                            Width="120px"></asp:TextBox>
                    </td>
                    <td style="width: 96px">
                        <asp:Label ID="CaptionPostId" runat="server" Text="邮编:"></asp:Label></td>
                    <td style="width: 254px">
                        <asp:TextBox ID="PostIdTextBox" runat="server" ReadOnly="True" Text='<%# Bind("PostId") %>'
                            Width="120px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionCompAddress" runat="server" Text="公司地址:"></asp:Label></td>
                    <td colspan="3">
                        <asp:TextBox ID="CompAddressTextBox" runat="server" ReadOnly="True" Text='<%# Bind("CompAddress") %>'
                            Width="486px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 79px">
                        <asp:Label ID="CaptionRemark" runat="server" Text="其它特殊要求:"></asp:Label>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="RemarkTextBox" runat="server" ReadOnly="True" Text='<%# Bind("Remark") %>'
                            Width="485px"></asp:TextBox>
                    </td>
                </tr>
            </table>
            </itemtemplate>
                        <fields>
                <InfoLight:FormViewField ControlID="CardIdTextBox" FieldName="CardId" />
                <InfoLight:FormViewField ControlID="CompAddressTextBox" FieldName="CompAddress" />
                <InfoLight:FormViewField ControlID="PostIdTextBox" FieldName="PostId" />
                <InfoLight:FormViewField ControlID="WebRefVal1" FieldName="EmployeeId" />
            </fields>
                    </infolight:webformview>
                </td>
            </tr>
      
</asp:Content>
